<?php

// User actions

// A player join this card game
function joinTheGame(){};

// The game owner starts the game
function startTheGame(){};

// In Play Card Phase, Player uses a card
function playCard($player, $cardno, $target=false){};

// When it's the start of the game, 
// player of this turn draw a card
function drawCards($player, $count){
	return $cardno;
};

// Player transmits a message
function transmitMessage($player, $cardno){};

// When message arrive the player, player
// needed to decide whether to receive this
// message 
function confirmMessage($player, $option){};

// The player decided whether to use a card when
// 
function skipToReact($player){};

// Player decides to move to the next phase
// e.g. In PLAY CARD PHASE 1, player 1 has no card to use, 
//      he chooses to jump to MESSAGE TRANSMIT PHASE
function jumpToNextPhase($player)(){};





// Trigger to All Player

// Autoselect by server, not a user action
function selectIdentity(){};


function displayPlayer



?>